package com.ruoyi.clothing.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 sys_goods
 *
 * @author weh
 * @date 2024-01-03
 */
public class SysGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long id;

    /** 商品名 */
    @Excel(name = "商品名")
    private String goodsName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodPicture;

    /** 商品材质 */
    @Excel(name = "商品材质")
    private String material;

    /** 商品颜色 */
    @Excel(name = "商品颜色")
    private String color;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /** 商品款式 */
    @Excel(name = "商品款式")
    private String style;

    /** 是否爆款 */
    @Excel(name = "是否爆款")
    private Integer isHot;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodPicture(String goodPicture)
    {
        this.goodPicture = goodPicture;
    }

    public String getGoodPicture()
    {
        return goodPicture;
    }
    public void setMaterial(String material)
    {
        this.material = material;
    }

    public String getMaterial()
    {
        return material;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setStyle(String style)
    {
        this.style = style;
    }

    public String getStyle()
    {
        return style;
    }
    public void setIsHot(Integer isHot)
    {
        this.isHot = isHot;
    }

    public Integer getIsHot()
    {
        return isHot;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsName", getGoodsName())
            .append("goodPicture", getGoodPicture())
            .append("material", getMaterial())
            .append("color", getColor())
            .append("price", getPrice())
            .append("style", getStyle())
            .append("isHot", getIsHot())
            .toString();
    }
}
